#!/bin/bash

#Panel for BigLinux
#
#Authors:
#  Bruno Goncalves Araujo <www.biglinux.com.br>
#
#License: GPLv2 or later
#################################################



. /usr/share/bigcontrolcenter/default/theme-categories.sh.htm

#Translation
export TEXTDOMAINDIR="/usr/share/locale-langpack"
export TEXTDOMAIN=bigcontrolcenter-system-biguser


echo '
<script language="JavaScript">
window.resizeTo(640,480);
function NoResize(){
  window.resizeTo(640,480);
}
</script>
'

title=$"Alterar permissoes do usuario"
apply=$"Aplicar"
close=$"Voltar"

#title
echo "<title>$title</title><body onResize=\"NoResize();\">"

#header
open_header
echo "$title" '</font><br>' $"Defina o que cada usuario pode fazer."
close_header

bigsudo-manager --make-bigsudo-config 2> /dev/null > /dev/null

#Exibir resposta para o usuario
echo '<center><table width=95%><tr><td><b>'
echo $"Arquivo /etc/sudoers configurado de acordo com o padrao desse programa."
echo "</b>"
  
  

echo '</td></tr></table></center>'

echo "</font></div><div id=\"rodape\">
<button type=button onClick= parent.location='permission.sh.htm'>   <img src=\"/usr/share/bigcontrolcenter/default/images/cancel.png\" style=\"vertical-align:top\"  />  $close     </button></form></div></body>"
